﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using QLTV.DAL;
using QLTV.Public;
using System.Data.SqlClient;


namespace QLTV.BLL
{
    public class LoaiDGBLL
    {
       // LoaiDGBLL ldgBLL = new LoaiDGBLL();
        LoaiDGDAL ldgDAL = new LoaiDGDAL(); 
        public DataTable LoaiDocGia_LoadDuLieuCotMaLDG(LoaiDGDTO ldgDTO)
        {
            return ldgDAL.LoaiDG_LoadDuLieuCotMaLDG(ldgDTO);
        }
        public int nhapLDG(LoaiDGDTO ldgDTO) {
            return ldgDAL.nhapLDG(ldgDTO);
        }
        public DataTable LoaiDG_LoadDuLieu() {
            return ldgDAL.LoaiDG_LoadDuLieu();
        }
        public int LoaiDocGia_Xoa(LoaiDGDTO ldgDTO) {
            return ldgDAL.LoaiDocGia_Xoa(ldgDTO);
        }
        public DataTable LoadTenLoaiDG() {
            return ldgDAL.LoadTenLoaiDG();
        }
    }
}
